package com.xjtu.duansheli.service;

import com.xjtu.duansheli.entity.ArticleCommentsInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xjtu.duansheli.entity.ArticleCommentsInfo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 漩涡鸣人
 * @since 2020-10-24
 */
public interface ArticleCommentsInfoService extends IService<ArticleCommentsInfo> {
    public List<ArticleCommentsInfo> getAllArticleComm(int current, int size);
    public ArticleCommentsInfo getArticleCommByid(Long aid);
    public int addArticleComm(ArticleCommentsInfo articleComm);
    public int updateArticleComm(ArticleCommentsInfo articleComm);
    public int deleteArticleComm(Long aid);
    public List<ArticleCommentsInfo> getArticleComByuid(Long uid);
    public List<ArticleCommentsInfo> getArticleComByaid(Long aid);
    public List<ArticleCommentsInfo> getArticleComByparentId(Long paid);
    public int getTotal();
}
